/*
 * @Author: chen1997 1747369444@qq.com
 * @Date: 2024-09-29 15:05:05
 * @LastEditors: chen1997 1747369444@qq.com
 * @LastEditTime: 2024-09-29 16:57:03
 * @FilePath: \ruoyi-ui\src\api\base\standardSheet.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 查询标准投标清单列表
export function listStandardSheet(query) {
  return request({
    // url: '/base/standardSheet/list',
    url: '/base/standardSheet/standardSheetTree',
    method: 'get',
    params: query
  })
}

// 查询标准投标清单详细
export function getStandardSheet(sheetId) {
  return request({
    url: '/base/standardSheet/' + sheetId,
    method: 'get'
  })
}

// 新增标准投标清单
export function addStandardSheet(data) {
  return request({
    url: '/base/standardSheet',
    method: 'post',
    data: data
  })
}

// 修改标准投标清单
export function updateStandardSheet(data) {
  return request({
    url: '/base/standardSheet',
    method: 'put',
    data: data
  })
}

// 删除标准投标清单
export function delStandardSheet(sheetId) {
  return request({
    url: '/base/standardSheet/' + sheetId,
    method: 'delete'
  })
}
